﻿using System;
using System.Windows.Forms;
using UtfprLibrary.Windows.Forms.ComponentModel.Security;
using UtfprLibrary.ComponentModel.Security;

namespace UtfprLibrary.Windows.Forms {
    internal partial class UtfprFormLogin : UtfprFormLoginBase {
        public UtfprFormLogin() {
            InitializeComponent();
        }

        #region EventHandlers

        private void btnOk_Click(object sender, EventArgs e) {
            base.Login(this._utfpr_txtUser, this._utfpr_txtPassword);
        }

        private void btnCancel_Click(object sender, EventArgs e) {
            base.Logoff();
        }

        #endregion

        protected override IUtfprUser FindUser(string username, string password) {
            throw new NotImplementedException();
        }
    }
}
